/**
*  
* @Function 共享内容数据 
* @ProjectName credit-data-platform 
* @PackageName com.py.credit.entity    
* @FileName ShareContentEntity.java    
* @Date 2018年9月11日下午6:52:17
* @Author Min DongXv
* @Copyright (c) 2018, 金电联行 All Rights Reserved.   
*   
*/  
package com.py.credit.entity;

import java.io.Serializable;

/**
 * 
 * @Function 共享内容数据
 * @ClassName ShareContentEntity
 * @Date 2018年9月11日 下午6:52:17
 * @Author Min DongXv
 * 
 */
public class ShareContentEntity implements Serializable {

	private static final long serialVersionUID = -1039887953363947343L;
	/**
	 * 编号
	 */
	private Integer id;
	/**
	 * 名称
	 */
	private String name;
	/**
	 * 父ID
	 */
	private Integer pId;
	/**
	 * 编码
	 */
	private String code;
	/**
	 * 类型 类型 K:库,D:部门,T:表,M:列
	 */
	private String type;
	/**
	 * 库ID
	 */
	private Integer rootId;
	/**
	 * 是否选择 1是，0否
	 */
	private Integer isSelected;

	public ShareContentEntity() {
	}

	/**
	 * @return the id
	 */
	public Integer getId() {
		return id;
	}

	/**
	 * @param id
	 *            the id to set
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name
	 *            the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the pId
	 */
	public Integer getpId() {
		return pId;
	}

	/**
	 * @param pId
	 *            the pId to set
	 */
	public void setpId(Integer pId) {
		this.pId = pId;
	}

	/**
	 * @return the code
	 */
	public String getCode() {
		return code;
	}

	/**
	 * @param code
	 *            the code to set
	 */
	public void setCode(String code) {
		this.code = code;
	}

	/**
	 * @return the type
	 */
	public String getType() {
		return type;
	}

	/**
	 * @param type
	 *            the type to set
	 */
	public void setType(String type) {
		this.type = type;
	}

	/**
	 * @return the rootId
	 */
	public Integer getRootId() {
		return rootId;
	}

	/**
	 * @param rootId
	 *            the rootId to set
	 */
	public void setRootId(Integer rootId) {
		this.rootId = rootId;
	}

	/**
	 * @return the isSelected
	 */
	public Integer getIsSelected() {
		return isSelected;
	}

	/**
	 * @param isSelected
	 *            the isSelected to set
	 */
	public void setIsSelected(Integer isSelected) {
		this.isSelected = isSelected;
	}

	@Override
	public String toString() {
		return "ShareContentEntity [id=" + id + ", name=" + name + ", pId=" + pId + ", code=" + code + ", type=" + type
				+ ", rootId=" + rootId + ", isSelected=" + isSelected + "]";
	}
}
